package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 照片对象 sys_photo
 * 
 * @author ruoyi
 * @date 2023-10-30
 */
public class SysPhoto extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 照片主键 */
    private String photoKey;

    /** 照片URL */
    @Excel(name = "照片URL")
    private String photoUrl;

    /** 照片上传者ID */
    @Excel(name = "照片上传者ID")
    private String photoUserId;

    /** 照片上传者昵称 */
    @Excel(name = "照片上传者昵称")
    private String photoUserName;

    /** 作品主键 */
    @Excel(name = "作品主键")
    private String worksKey;

    /** 作品名称 */
    @Excel(name = "作品名称")
    private String worksTitle;

    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;

    public void setPhotoKey(String photoKey) 
    {
        this.photoKey = photoKey;
    }

    public String getPhotoKey() 
    {
        return photoKey;
    }
    public void setPhotoUrl(String photoUrl) 
    {
        this.photoUrl = photoUrl;
    }

    public String getPhotoUrl() 
    {
        return photoUrl;
    }
    public void setPhotoUserId(String photoUserId) 
    {
        this.photoUserId = photoUserId;
    }

    public String getPhotoUserId() 
    {
        return photoUserId;
    }
    public void setPhotoUserName(String photoUserName) 
    {
        this.photoUserName = photoUserName;
    }

    public String getPhotoUserName() 
    {
        return photoUserName;
    }
    public void setWorksKey(String worksKey) 
    {
        this.worksKey = worksKey;
    }

    public String getWorksKey() 
    {
        return worksKey;
    }
    public void setWorksTitle(String worksTitle) 
    {
        this.worksTitle = worksTitle;
    }

    public String getWorksTitle() 
    {
        return worksTitle;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("photoKey", getPhotoKey())
            .append("photoUrl", getPhotoUrl())
            .append("photoUserId", getPhotoUserId())
            .append("photoUserName", getPhotoUserName())
            .append("worksKey", getWorksKey())
            .append("worksTitle", getWorksTitle())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .append("remark", getRemark())
            .toString();
    }
}
